package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.mapper.TravelViewCountMapper;
import cn.wolfcode.trip.base.service.ITravelViewCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TravelViewCountServiceImpl implements ITravelViewCountService {
    @Autowired
    private TravelViewCountMapper travelViewCountMapper;
    @Override
    public void addViewCountByTravelId(Long id) {
        travelViewCountMapper.addViewCountByTravelId(id);
    }
}
